﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using hachiModel;

public partial class RecommendedProducts : System.Web.UI.Page
{
    Hachi.Controllers.CategoriesController cctr = new Hachi.Controllers.CategoriesController();
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string lang = Session["Lang"] == null ? hachiCookies.getCookieValue("Lang") : Session["Lang"].ToString();
            string TyPeID = "-3";
            if (Request.QueryString["t"]!=null)
            {
                TyPeID = "-" + Request.QueryString["t"];
            }
            ltrInitScript.Text = "<script>var cCategoryID = " + TyPeID + "; $(document).ready(function (){loadAllPage(" + TyPeID + ");});</script>";
            if (TyPeID == "-2")
            {
                lblCateName.Text = "<span id='lblUniqueProducts'></span>";
                lblPageTitle.Text = "Hachi hachi Unique Products";
            }
            else
            {
                lblCateName.Text = "<span id='lblRecommendedProducts'></span>";
                lblPageTitle.Text = "Hachi hachi Recommended Products";
            }
        }
        catch (Exception ex)
        {
            lblPageTitle.Text = lblCateName.Text = Request.QueryString["a"] + ex.Message;
        }



    }
}